conditionally include plugin config