Changing template to work on first load.