Added sendscore function