add extention script
modified bin/used-mem