Made all table names lowercase so that unix based mysql will work.