scripting, in java