added magesetup