Model and script