Added compress toggle
Make DEBUG a local_settings option