release command rework

This pull request replaces PR #67