gather subset script tweaks