modify head.r to include lineprof func.
update the head.r