Changes to apptemplate