fixing arduino script