Added repo to module
updated for use when repos are not loaded.