Adding substring matching to console for ease.