make `install_script` stanza more robust

* correctly (and leniently) parse values
* add test