added script to setup database