Made it possible to add processes to queue