Debug for great justice
Changed logging, imported the correct libraries finally aaaaaaah.