move the runtime require to the config step