create a after_initialize page to load config files that need to use database