added checking to see if database already exits. exits script if the database is already there