Added debug option, which won't upload anything.