fix initial_beagle script