Script package unable to run julia

When I try to run a .jl file with ctrl+shift+B an error occurs. Julia is in my PATH, and I can launch it from the terminal by typing “julia”, so not sure why I cant execute the file. What can I do to make the Script package work as intended?