Added ability to capture images