primary script tweaks