read p:0            !read phase/coupling data
transfer des ref    !reference data is design
read e:0            !read dispersion
read o:0            !read orbit
read ref o:171277   !reference orbit with xbsm bump
set ref_orbit_x(0:88)=0
set ref_orbit_y(0:88)=0

opt all
opt lock

phase_x_wgt=0.
orbit_x_wgt=0.

veto quad all
use skew all
veto horiz all
veto sext all

eta_y_wgt*=5
run

load steerings
load quads