add support for relative paths