Cleaned up some small typeo bugs
Added autocommit