adding script escaping to display