bin-directory optional, also some pep8

`s/tor/to/`