Triggering Folder Action in Mojave

I am trying to trigger folder action when I drop a file on top of the downloads folder, but it is not working.

Any suggestions?
Thanks.

To be folder action triggered by dragging items on the Downloads folder, this folder action should be attached to the Downloads folder. And the folder action (handler on adding items to folder…) should be into the Folder Actions folder of your computer.

After creating the handler and putting it on Folder Actions folder, go HOME, right-click Downloads folder, go —> Services —> Folder Actions Setup… and attach the handler above (that is, script) to the Downloads folder. You should set 2 checkboxes there, 1st is for the folder, 2nd is for the script.