moved fog_directory to start of URL