Adding the twoway analysis script