Add method setPathToProfilePatterns (@giovaniguizzo PR)