Refactored initialisation script, that is run against the fields with the configured name.