Adding Gearman input
Raising correct error when queue is missing