add additional event functions
remove unneeded after_setup_theme action