Add check for child theme