am 78b050ea: Fix bugs in scriptGroup.

* commit '78b050ea1e13108110ce3b8ead63252e5ebe2468':
  Fix bugs in scriptGroup.