Added a --profiler option to all maintenance scripts.