Added logic to add effect selections to the attributes