- Minor changes to avoid error "binary operator expected"
- Added check for existing input folder