[preferences] added backup/restore scripts for pckeyboardhack