Refactoring: Changed appName to profilerName.