Merge "Implement ScriptGroup and add test." into jb-mr1-dev