added scripts to player