Auto generate need files