script to set environment variables