Create csv custom functions