Remove "G" from output and uploads directory

This should take care of removing the G from the code before the PHP tag. Adding conditional logic for local development. Adding in the Uploads directory.