printf tweaks to both scripts
minor tweak