fixed gremlin script