Add path argument to context menu commands