Added ability to change name of die

And fixed bug