Move the add_cmdline_checks() call earlier