get rid of unnecessary PrintDefaults in paste
more (minor) cleanup in paste
substr cleanup and bug fix, mods update