Bug fix to release script