1. fix python args passing
2. add delimiter to Csvinput and -outputformat
3. fix writemode has to been specified in user code