Adding some shtml functionality