Added protection if file does not exist
Modified the return code and made the creation of the snapshot quiet
Added protections for missing motion or snapshot files
modified test script
Added install script