Script folder action set-up

Hi guys, I was wondering if there is any way to script folder action set-up. My problem is that I’ve got folders on a remote volume on which I have “add - new item alert” script attached to. The problem is I have to manually set-up after every restart or it won’t work. I wish I could write a script that would do it for me and just put it in my login items. Thanks in advance for your tips.

Folder Action Setup itself is scriptable, at least in Leopard. Sample scripts are available in /Library/Scripts/Folder Actions

I will have a look at it. Thank you.