changes to queue cratore script