Making scripts and plots