Changes to work better with paths and URI's
Updated the config file to include public path