add option to enable/disable shake to clear ram