my dev setting changes
check/create db, tables + insert to db
adding insert right after creating hash