small changes for running not-on-localhost