check standard output and error in g_write
update README.md