check to see if enviornment variables are set