updated the code for deployment and results collection
saner logging