Adapting the variability script to run periods on the possible variables.