Consider environment variables

Consider environment variables or variables passed into the script.