Use parameterized command properly