New plotscript, update from HD work