new file:   costactivitytool.py