require implementation: add support for falling back to the previously defined top level require statement