Refactoring install_os arguments