Bluetooth of BBGW

I have an AgentYes.py which I want to run when my BeagleBone boots up. I want to start as soon as the BeagleBone powers up. I tried to put this in /etc/init.d, but it didn’t help. I wrote a shell script to run this executable but even that did not help for me.

So, How can a run automatically python script on bootup a BBGW?
OS- debian10 (Buster)