Fix for DnD script