differentiate target and select commands