Enabling offline capabilities, debugging weird behavior