firewall place-before error

If I run this code in putty it works but not within a rsc script.
The error is: script error: item referred by ‘place-before’ does not exist (11)

/ip firewall filter
remove [find comment="FreeIPs"];
remove [find comment="Block guest to homenet"];
remove [find comment="Customer accept tcp"];
remove [find comment="Customer accept udp"];
add place-before=1 chain=forward comment=FreeIPs src-address-list=FreeIP
add place-before=1 action=drop chain=forward comment="Block guest to homenet" dst-address=192.168.179.0/24 in-interface=bridge
add place-before=1 chain=forward dst-port=$FREEPORTS in-interface=bridge protocol=tcp comment="Customer accept tcp"
add place-before=1 chain=forward dst-port=$FREEPORTS in-interface=bridge protocol=udp comment="Customer accept udp"

What is wrong? Any idea?

Hi there
I tried to reproduce the issue wihtou success. All the time I import the scirpt as rsc or I run it directly from commandline it’s executed correctly. abd rules are added correctly. to the filter firewall section
please may you describe the RouterOS version you are running on and the steps you use to exxecute the rsc contained script?

thanks

So I have seen, the sript is working on over of hundred customer devices but only not on my own.. I have done a reset on my development device and all is ok, Thank you, it was my fault.