Apple scipt studio doesn't build script as "run only"

I’ve been developing an application in applescript studio for some time.
In my earlier releases the scripts in the application bundle has been “run only”, but now all of a sudden the script inside my application bundle is viewable with script edit.

Does anyone have a clue how to make Applescript stuido save my script in the application bundle as “run only”?

You’re building in Debug/Development mode. Switch your build configuration to Release/Deployment.