Final fix and change for the appstore

publishing code