cleanup
SQL and email working correctly
Added innings0 support