hotspot removal script works in 2.x but not in 3.x

Hi all
I need a little help with my script. THis works perfect in 2.x, but doe not run at all in 3.4.

Is there any way to debug a script? Any type of logs?

here is my script

/ ip hotspot user {:foreach r in=[find profile=Basic-low] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=Premium] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=Basic] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=Advanced] do={remove $r}}
/import mkaccess.rsc

any ideas?

ok I found my answer, I need quotes around the profile names

/ ip hotspot user {:foreach r in=[find profile=“Basic-low”] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=“Premium”] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=“Basic”] do={remove $r}}
/ ip hotspot user {:foreach r in=[find profile=“Advanced”] do={remove $r}}
/import mkaccess.rsc