Add plugin script interface