run optimize during install, autodetect RPi hardware, tidy optimizerpi script