updated command_line to fix env variables