convert to use `shelljs.path`