fix seg. fault from previous tag. Previous tag is unusable. Added MET variables. This should be first stable version of the code