you need a wait command between 2 actions I believe.