Related:
If there is no asset() call in the script, Zorro correctly adds asset name to the *.PAR file, *.htm and .png files. (but not to _train.log).

However, if there is:
Code
var bcy_to_usd() {	
	asset(Asset);	
	return 0.1;
}

function run() {	
	set(LOGFILE,PARAMETERS);
	NumYears=2;
		
	if(Init) {
		//sprintf(Script,"AAA%s%s",strmid(Asset,0,3), strmid(Asset,4,3));
		Script="AAA";
			
		watch("Script=",Script);
	}
	
	var Lb = optimize(10, 10, 20,10);
	
	var rate=bcy_to_usd();
	
	LifeTime=Lb;
	
	if (priceC(0)>priceC(Lb)) enterLong();	
	
}
then there is some weird behavior. See screenshot.

Attached Files Script_simple.PNG