added route and wp scripts, minor changes