added script which extracts full image