make the spooler engine more flexible