update clbin.sh when file is folder