Fix create db script