new script (v38) and updated the model for the view