Added fallback to user-provided path for imports