mask the addPlugin section as code