Added optional "--path" to command