Adding parameter defaults to 2 input tags and allowing the output file name to be an input parameter.
Changing some parameter to match upstream code and adding output filename parameter.