Compiler error stringstream not on the scope

re #6175
Merge branch 'feature/6175_script_repo' into develop