fixed invalid winreg import
fixed print statements
fixed imports