Added command line arguments for in, out, duration args