improve event triggers, rename select to command