use inherits instead of util
replaced path strings with opts
added opts paths to new _cmp