I am sorry but if you are using a unregulated (timer does not count) heat source inside the enclosure, you are doing it improperly. Your snake may be striking because he is uncomfortable.
We just really do not want to see your next thread be "Why does my snake have red/brown scales on his belly?". Or worse yet, in the Rainbow Bridge section.