Optimization for passing argument to command