Command utility functions