Modified class shell_cmd