- Added check for remote file exists
- Added ignore case for grep