Update dd3.lua

This update brings multiple entry support to the system.