Ant scripts fix