local plugin definition