mmt running script and setting