Use relative paths instead of absolute Closes #1630
Merge pull request #2104 from marminthibaut/relative-paths

Use relative paths instead of absolute Closes #1630