I was thinking the same but then again if the rats were in the room all the time, the snakes might eventually get used to the smell and only react when they get inside there homes.