Add resume handling (by SharkHunter)