Small error in generate script

Was not transforming RELEASENAME in vars.config