added support for paths.