hook system + migration to python3