Scripts used for the game