Change environment from the command line