added Jython class to run script on command line.