added input/output cmd line options