Correctly create instance per function call
Bump version to 1.0.1 for bug fixes