How to use bpstart and bpend notify scripts.