adding the DEBUG flag for settings page.