improved the version handling (and adapted the documentation)