Set wrapper to call python