main class substitution in release scripts