Reorder deploy script