Improve release script. Closes #5