use cmd  instead of custom archive state