Rearrange scripts to prioritize in loading