fixed some stuff
Moved debug settings to secrets