ISO codes now handled in magic
Added magic as a dependency