Add profiler and benchmarker for scripts