Update build.xml

moved replace to init target