Trouble calling function from CLI

That was exactly the fix. I got the idea from someone who had the same exact problem in this post:

Though your rite in expecting it work, I would and have done the same in other languages. Maybe its this specific case?