Added Entities, Updated SQL script, converted Log to CSV