trying to fix config variables issue in production
fixed reading the .env file and setting the environment configuration in production