You'll need to leave the part of the script that places those markers, and the part that automatically places them for the AI. Also, you need to run the background script.