use OCaml as scripting tool