Fixed weird braces in command generation.