change order of scripts