cleaned up redundant code, added retry flow, specified queue names for all VMs