Some more work on the script.