Adjust the order of scripts