Init() function is called when the play button is hit