Fixed and optimized module downloading