add gist loading support