Cleaned up code.
Added debug print statement if the user uploader field is empty for some reason.