reset main.lua

I have it so when a balloon hits the spike the game will say game over and then show a reset button. I want it so when you hit the reset button it will reset the main.lua file
CODE -------------
local reset = display.newImage(“reset.png”)
reset.x = 300
reset.y = 512 [import]uid: 55737 topic_id: 9466 reply_id: 309466[/import]

Creating multiple, identical threads is considered spam.

Do not create anymore duplicate threads. [import]uid: 52491 topic_id: 9466 reply_id: 34658[/import]

sorry it happened automaticly [import]uid: 55737 topic_id: 9466 reply_id: 34686[/import]