remove debugging spam
lazy version number reading
move code for better performance
lazy version number reading
fix lazy version numbers
put most of the main code into main(), which can be run multiple times
when the --script option is specified