commands in priority order