Made paths relative, closes #2126.
Merge pull request #2133 from cmfcmf/relative-paths

Made paths relative