backported some auo commands