added --noconfirm at installation function