added --attach-control-daemon