fixed typos, added "if not exists" to table creates