code: def create_script_for_location(content, destination):
      
      temp = tempfile.NamedTemporaryFile(mode='w', delete=False)
      temp.write(content)
      temp.close()
      shutil.move(temp.name, destination)
      cur_perms = os.stat(destination).st_mode
      set_perms = cur_perms | stat.S_IXOTH | stat.S_IXGRP | stat.S_IXUSR
      os.chmod(destination, set_perms)
docs: Create a script with the given content, mv it to the
      destination, and make it executable
  
      Parameters:
      content- the content to put in the script
      destination- the directory to copy to
  
      Note: due to constraints on os.rename, destination must be an
      absolute path to a file, not just a directory