Fixes to release script