Work with multiple pi versions