add --non-interactive flag to sudo commands