new file:   managedomain.sh