working release script