added debug output to dockutil_add