use script in parser