improving command execution