updated command options in getcommand