Added ability to capture photos and save them.