Changed how environment variables are read into constants.