Improvements to scripts.