Added encoding command line option