fixed broken include and added TypeError exception on hotandcold script