Fixed a bug with command line argument for unsuccessfulShake