Add Second Mage Addon

remove that space at end and add a new line at end if it doesn't have one