added cp -f so that BEAST input xml is overwritten