Added support of new "mdid" parameter
Added script for configuring MegaDevice