change the parameters in generateAveprofile.py