changes for camera scan and Exception handling in Utils!