Upgrade from 5.26 to 6.19 Script Import Problem

I am getting an error when importing scripts created for os 5.26. I understand there is an issue with protocols.

My question is, do I completely eliminate protocols, or just certain parts of the protocol?

Here is an example:

/system scheduler
add interval=5m name=«Device»Schedule on-event=«Device» policy=
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api
/system script
add name=«Device» policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api source=":global «Device»failure\r\

Would I completely remove the text in yellow?

Thanks.

AFAIK, you can just remove the policies about protocols, so “ftp”, “api”, “winbox”, “ssh”, and “telnet”.

If your scripts are supposed to have full permissions, you can remove the entire policy arguments, since full permissions is what it defaults to anyway.

Thanks. I will remove the policy all together. Full permissions is fine for my script.