Doc updates and minor script corrections
cleaning up some script issues