Add separate bin script for testing

Separate pull request for bin script functionality, as requested in #58.