Major update to correction scripts.