Add legacy support for gist
Merge pull request #1 from riaanvddool/hotfix/legacy_gist

Add legacy support for gist