Debugging "missing command error"