define enviroment at runtime instead of the application