West Ham striker given timely opportunity to prove his worth