allow for programmatic use, fixes #3
0.3.0