Now script is working ok
Instruction for script