change sourcesdir to relative path