adding min, adding ylabs, clean up diagnostic
additional arg for sqc names
changed to be more user-friendly