changed mod() call to use require_* instead of include_*