fixed script not downloading bug