added missing application template stuff