Added visible flag to excel output