Remove previously generated beams before installing new ones