Docstrings and rename script to avoid conflicting with `sample`