corrected and extended version of ScriptCompareStrategies