add FUNCTION argv notify exit ...
use codecs.open to save file