Script to set environment variables to run the system