Use wolframscript to run wls files and get output in cmd?

I want to use wolframscript to run wls files. however, after I type wolframscript -file filename.wls, the cmd runs for a while but gives no answer.

Wrap Print around the final output of the .wls file. Like Print[RandomReal[]]