log if drop table exists & more statement checks