add a "path' parameter to commands