add cross-sectional script