Updated UIscript to include iPhone runtimeplatform