make it configurable, like "API only when we have piston"