Fixed import handling, but frontend fails with external definitions
Multiuple external dependencies are allowed