change that allows for specification of an output file
    This is my first time with complex shell scripting.  don't judge too harshly.
TODO - add a help option, make the -y option work at any point in the argument list