Developed a script to pull hosts from ldap ad, however, getting the above error, things I made sure, 1.) script has executable permissions 2.) script path has been configure