Fixed `No d supplied` error on upgrade

closes #1