fixed the prepare_archer script