Optimization of the high-order harmonics generated from silver plasma