Revert changes to the module downloading code