added usage statement. added command line arguments. added custom output forwarding.