added support for doc['<name>'].value(s) script parameters