Dynamic digital factories for agile supply chains: An architectural approach