Can't Run Web Script

I have created a web script and deployed it to /web/scripts/<my folder>. But when I try running it, my file content is returned. I tried commenting out my running code and adding the content of the ‘hello world’ example and the same thing happens.

SOLVED - it was the way I was calling it.