added debug option for runCommand