modifications to gollum plugin