added -v and -cpuprofile flags
v1.0.1