Move loadPaths to main cms class