category script tweaks