some changes to communication with server

some changes to install_dependencies