Added DEBUG flag for Ad-Hoc and enabled Push Notification Flag when in DEBUG mode