Fixing reference paths to relative.