Eclipse made a script for me. It could be horribly broken, but this is a
start.
Fixes to main method. Seems to do something, at least.