Fixed broken command execution