Add debug and settings