Slightly edited version of screenFetch.