Added function to help use env variables