I need a little bit of help with my script. Actually i am not sure if the problem is in the script at all or my concept is wrong. So, what i am trying to achieve is to autom