3197 improve script

#3197 against 3.11