Update with filenames

Whoa didn't realize this would get any attention. Updated the temp file
names as they make a difference when uploaded. A couple little bash
things.