Ant script modified