Experiments with spaces in names now working correctly.
Remove debug console.log