Upload image if provided as first argument

Else just take screenshot.