if (a) { # switch to add a queue do system($somecmd $q); #run system cmd with entered string.