Add save to gist functionality