add compare periods script