script body goes into rethinkdb