Fixed packet instructions for versions >= 1.6 + PEP8ed it up a bit