rearranging scripts