Replacing template with gist file