added missing os module in queue script