Fix bug with relative paths, everything was broken