Replaced lambda hook with named function
Custom: added python pyflakes path