Fixed preview and full urls so that they go to the correct buckets.

Refactored the defaultLocation into the config file and updated the sample config file.