More work on scripts.