fix position scripts