added hook to the print address function
Merge pull request #1153 from csalvador/print_address_hook

added hook to the print address function