Add one argument versions of map and each for Array to script.scala