Added auto-linking of global modules (with warning message).
Added dependencies