rangement script