Fixed a problem with relative paths