Replace plugins.sh with Node hook.