use ruby grep here
more cleanup; refactor import/export
version bump: v0.6.8