Some work on scripts