Scripts were not executing because of unknow ! bash function