Add profiler to scripts.