Fix release script to work