Working on database restore. More info to follow later