So the habits above are all about lowering your heart rate, calming your nervous system and preparing your body to sleep. Making these things habitual allows your body to know what's coming. So that it can excrete melatonin, lower your body temp, and run all its other sleep processes.