move licence text after option statements so that it appears in a printout, merge changes for fix table output field description to max of each table and test