Fixed some issues about file paths.