improved node generation ant build script