Called the queueHandler function at the end of the script so that it will start the queue as soon as its started