Slightly tweaked ant script