Made result records to be DAS ones (add das header to them)
add try/except block
Couple of bug fixes