Added import checking and exceptions for config files for the camera.