updated wd scripts