Added default interval value, fixed backup and restore functions