add export control warning and PEP8 fixes