added BP calculation script