Update scripts. Add plotting and ADI flexibility to template.