Scale and Conformal Invariance and Variation of the Metric