Add projection using attributes from header