this cleans up the settings file and template logic considerably. much appreciated:exclamation: