Added check to prevent imports from running