Added scan code to disk queue manager