changed default mode to PROD, class in profiler for custom design