Fix queue creation on enforceUpdate
and auto install dependencies
Merge pull request #495 from mazerte/fix-queue-bug

Fix queue creation on enforceUpdate