Unless someone can be found to start updating MDX again, it really would make more sense to switch to DCX instead. There's much better support there and it's kept up to date. Also, keep in mind that even if you get things working on your end, if you're distributing the script, others with other setups may not be able to use it if it uses MDX. Unless the script is huge, it doesn't take all that long to switch it over to DCX, imo. Just something to consider.