Rearrange script load order