add tools/is-attached