added 500 msec sleep between commands, to slow down the game and actually let you see what's happening