change the order of scripts