change some paths in common files to make them compatible with both plugins