moved macro with definition to settings for restoration rather than loading from web