Quit button

I wanna program my start screen so when i hit a button (using Fire1 for test) it will shut down the game. Its not working at all. Heres my current script:

function Update() {
if(Input.GetButton(“Fire1”)){
Application.Quit();
}
}

This should work fine. Remember though, as the documentation states, Application.Quit is ignored in the editor and the web player. Have you tested your code in a standalone build?