Light following camera...?!?!?

Hello guys,

I created a SpotLight and Position next to my Maincamera object. The SpotLight has attached this script (very simple).

var target: Transform;

function Update () {
transform.LookAt(target);
}

where target is the variable reffering to the MainCamera.trasform.
ok, I compile, and run but nothing seems happening. What I was expecting was a uniform lighting of my 3D Room and I followed the tutorial at http://download.unity3d.com/support/Tutorials/2%20-%20Scripting%20Tutorial.pdf

Am I doing forgetting something?

Thanks,
GC.

try:

function Update(){
transform.LookAt(target.position);
}

cheers
m.