Making RAW working within relative paths