added script to handle db setup