Shift script counter