let pbr create the hardware-detect script