Hypersurfaces in projective schemes and a moving lemma