plugins/script: update sample.
Add detailed installation instructions; split docs up.