tweaks to scripts