Enable profiler in maintenance scripts