Rearrange script order for luminate