Add some functionality to Release.groovy