ScriptScanner handles data types and arduino mega counter working again