Updated python support