Modified MageSetup blogpost