Add pre-build plugin script