From GUI to script

Thank you very much for your fast reply.
It seems to me there are no problems from GUI.

Thank you