Use resolve instead of forking a process

Closes gh-12.
version bump