add dependencies
mechanics move to scmutils