Copied over model parameter part from mdu.html
Handling crashes differently