Fixed device check code issue
Merge pull request #4 from sachingade20/automated_snapshots

Fixed device check code issue
update
update executable perms