Revert "script fixed"

This reverts commit 9ac54b09bed7c48f2ded8ef09a7c2933d2b785d2.
script updated