Helper scripts for passbook