Get scripts into shape for testing.