I would also recommend writing down what thoughts are going on in your mind in the morning and before your relapse happens. While you battle through this, take the opportunity to record and observe. If you can learn from your relapses, it is not a loss - it is progress. Only when you understand the reasons (thoughts) and process(cues) behind it, you can start to unravel and replace them with something else. Countering addiction is primarily a self discovery process.