Use register rather than run_main.