various changes to the plotting package as well as the main script to get the plotting working correctly.