Script to add "self" links to dependent styles