Add init and fix some things in backup