added optional parameters for output file name and cover art name