Got search template working