many fixes, py snippet add