added before script to create db