changing order of scripts.