added tune_md.sh script