OPTARG values chaged to smaller case which also supports for version less than bash 4.0