added magicprefs
Merge pull request #2086 from vitorgalvao/magicprefs

added magicprefs