allow contracts to be disabled with ENV variable