new version of the matla scripts for the practical