analysis script small changes