Load a plugin only if a condition is true