Adds debugging code
Fix config
Fix config