set app environment var