TISTUD-2843 Fixing the shell environment to the command