changes public path to fit live server