first iter of remote install script