Update config and script according to RPi hardware