move wget invokation onto correct line