Fixed addImport Function