added support for foreman (including .env file)