Fix script order.