Changed it such that plots don't get overwritten if they already exist