layout changes to index and application templates