gethostname added, but cfg file is not good(different alg share same files), to be modified with opt args.