Script to get shifts for telescope