Added logs to script language