Added python signature checking code