Changed the way relative paths are handled to make sure there are no
issues with Mac/Linux