Added script for web app and iOS app