Added setRequestForConsoleEnvironment() method