fixed create and drop table scripts