Glenn. I just ran your script against two of my domains using Kixtart 4.53 and it worked with or without space.