Imported keyLogger code