handle version increments better

fixes #4