Adding if block to embeds