model script