pledges script