changes to queue creator script