improve complex Script Editor