repositioning script