updated release script - fix minor bug