install script: curl not saving file