Switching to .env configuration