New scripts and matlab