Correct generic targets
Add tests to ensure profile directory isn't double linked