added dotenv stuff for rails