fixes #2705

Fixed the script error.

Please Check.