updated yeo scripts to be more generally runable