Make new scripting stuff work on iOS