fixed issues with refernce to .env files