Now passes env variables to front-end