new script (v39), updated the model also