Continued work on script generator.