Fixed how names are passed to the userscript
Fixed tests; updated docs