Implemented lua scripting for iuse.