Set the environmeent variable for all views