replacing direct filepath reference with environment variables.