added html file generation for profiling