updated turret script