Adds gist creation function