app template; basic detection