some more AD scripts