Adjusted script to select every fourth element.