first attempt at bringing in database restore