One Direction performed " What Makes You Beautiful " and " One Thing " on the NBC comedy television show " Saturday Night Live " on 7 April 2012 , and also appeared in a comedy sketch with Sofía Vergara .