added debug, fixed stupid missing script on player