minor Tweaks to scripts