@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
Windows Flags Compiled Script As Virus
-
I compiled a simple script that creates an article from strings. It's not using browsers or any module. The only modules used are string module and write file.
When i install the compiled script that BAS compiled windows flags is as virus and deletes the files!

-
I came on here to post the same. It seems like this is happening more often now and/or is a new issue that just came up recently. Also noticed that I have to try to start up any BAS program multiple times now before Windows allows the launcher to launch the program.
-
What is the Trickbot!?