Updated script sorts