Revert bin script back to original.

It appears that the code that was meant to be in the file was overwritten with an autogenerated bin stub.
Add handlers for partial calls in commandline usage.

Closes #105.