got registry import working, and removed debug print