added mds script