I was having the same issue and spent more time then I'd like to admit trying to fix it. I blame it on the poorly worded help statement but maybe I'm just dumb. If you're using cycles you need to put "# CYCLES". If you just put a number it will not work, hopefully this helps you.