Need support to find out the reason why my script stop