use sed to avoid multiple adds to the same file