Changed to the new player config
Changed args[0] to targetplayer.getName()
Removed the old player config
Rearranged some code