modified run-beautify_mine