Logging part one
Logging!
Move importing packets to after the self check