add a script for training global variance