Loop through all fields and add output to console

Refactored this so if no element is select it will just loop through them all. That way the existing functionality still works just enhanced.