added a little bit of flexibility by passing in the gist as a map options.