Added script function return values