added pupil dilation to new rebuild script