Fix for running in the grok engine
improved comments