All code prior to console interactions.