We all have 'off' weeks. Don't beat yourself up, just keep plugging away at it. One off week won't sabotage your entire plan.
For me it's more about the long haul anyway, Finding ways to change one unhealthy habit at a time and stick to that. Why was your sleep bad? You might want to start there. Stress can really mess you up, and if you aren't sleeping, it all snowballs. Ask yourself why you didn't get enough sleep and what you can do to change that. Good luck! You will get there.