adjusting script positioning