scene and script updatescore