Use invoke instead of @which