WIP: longitudinal stat scripts