only ask when interactive