Make a ext file and a sml file automatically(HQMTS system)