Fix problem with relative paths