Fixed generation of error log and include
Added README