script to exercise pb