Fix #315: Add -y flag to skip [y/n] upgrade prompt