Added switch plugin