rearrange order of scripts