adding permalinks etc