Added generic mage build