Change wrapper download url and fix random secret initialization