Adapt scripts and utilities Java classes to handle releases