Added save statements to attempt to make database permanent