script creates db as well