The cgi files are C compiled scripts that are not editable. You can usually accomplish most customizations using custom templates, APIs and javascript in the cart.
Thanks! I was hoping to change the location of the main shop, but I finally just uninstalled it, I'll reinstall it later at the proper location, it'll be easier...