Adds cp name detection and styles