how do i get the result from the script?