Fixing command variable bug

We're passing strings not integers.