list command
use db.run when saving mac
enable closing