I think I'm going to stick with this layout. Including the scripts as lstlistings just looks ugly, and the default behaviour of LaTeX is to insert random bits of the listing inbetween a bunch of figures, which is completely unreadable. Leaving a link to the repo in the data section of the report.