Not sure why I changed this.
Remove reading OPTDIR, use arg.