Allow arrays in script text

Same thing will all of these - they should still be rootScope.