adding back in the environmental variables