script tweaks