Add app_main override