set behaviors for overwriting command