make the restore method accessible through CLI