removing duplicate script and fixing appstore links