use $DMD instead of dmd