rewrote fill_argv and integrated it into main() - Gary