added ability to specify different input sources; updated README