Dumping and Restoring settings on bot restart