Fixed issue with relative file paths