Adding support for pay to pubkey hash: part 1