Changed envars to work on the server