Profiling engine : generate script and html file.