Wrote code to concatenate all studies, but still in development.