swithchin to local plugin