Fixing relative path problems. Close #1