add select cmd support