Adding DEBUG constant for deploy
Auto-update configuration