adding permalinks to the assets