migrate take_screenshot to util.c (temp)
remove imgs