Adding CLI arguments
Fixing uploadPacket parameter