register functions to run after all modules have initialized