Resolve external references

not imports
Resolve imports