Fixed Bug 8252
* fixing some typo on script