Finished core of parse_root_command