add script to see if database is up