rewrote bin/require in python
require tweaks