Remove debug prints and disable reflog properly