conditional enable some plugins