readd --require option, closes #581