Reimplement mapping import based on paths