add prepend and append to enable xhprof.io