add time delay as an option in take_screenshot.