if [[ $# -lt 3 ]]; then echo "Usage: $0 " exit 1 fi if