add script to fix up registry ip in template json