Fixes, Refactoring and a Release Example Script