Render to cubemap script

Hello
Thought I’d try and get my head around cubemaps. I picked up the RenderCubemapWizard script, copied it into a javascript file and get this error:

Assets/Assets/Scripts/RenderCubemap.js(5) error BCE0018: The name ‘ScriptableWizard’ does not denote a valid type.

Any ideas?
Thanks
Boxy

Have you placed it in a folder called “Editor”?

Lol, that was it, I must stop putting scripts in a Script folder!
Thank you Nicholas.
Boxy

What do you do with it?

If I put the script in the Editor file and try and attach it to a camera I get:

"Can’t add script
Can’t add behaviour rendercubemap because it is an editor script. To attach a script it needs to be outside the “Editor’ folder”

If I put it somewhere else I get:

“Can’t add script behaviour rendercubemap. The script needs to derive from Monobehaviour!”

I love Unity, but I wish they would explain things more clearly in their manuals.

Tried renaming it. Doesn’t help: