Merge pull request #189 from nullquery/master

Fix for #168 + removed FILE_DIR from .dme