Added commonPath and relativePath