Refs #9370 Swap algorithm to use ScriptBuilder.
Merge branch 'feature/9370_generate_python_script_nested_history' into develop