Added logs
Fixed bugs in score computation