Does not read from stdin. Now takes cmd line args.