modified config template file and
made pqueue global