plugin script updated