added the possibility to use any environment from the console