Fix paths to templates and searchjson