Adding conditional plugin