Why is this function defined in a settings file?  It seems like it should be defined in the microsites app, and invoked as part of the startup?