Update packages for mdm.
Make script executable