Adding scripts to the player sprite