I think your missing a bracket somewhere in the script. There are lot of Missing Bracket finders available within this forum which can help you in fixing this.
I tried that program, however it just sticks and doesn't move and nothing happens, forcing me to close the program. I'll try some other way, thank you for your help anyway.