move grabImageAt to Tools