added gist to PDF machine