Added condition attribute to components