Added function to use underscores in permalinks instead of dashes.