upload and rename commands, plus json data for pics