add move tag in connectors
added some debug output
added merge object script, adapted from shenlj