Adding support for custom queue name in case of pbs