model utility script