removed some code which fails on 12.1.2 from the domain py templates and added extra examples