add auto targets to mage