Moved the console lines to their respective variables so that they will show in the console as you go.