adding support for relative paths