I saved the script as 'tubemaster', made it executable and put it in my usr/bin folder.
It runs now if I just use the command tubemaster.
But it won't run from the menu, even though in the launcher properties it's pointing to /usr/bin/tubemaster.