small changes in Beagle pipeline