added die message to script