scripts for the game