use relative rather than absolute path with the only exception of embedded