added GIST and sharing server config env var

fix for issue #769