add support for specifying path - fixes #2
0.3.0