changed BEAST pipeline for Gates