Added script output before escaping