refactor, fixes shrinkwrap.version; fixes #1